//
//  CTLogic.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/6/15.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CTLogicItems.h"


typedef void (^requestSuccessBlock) ();
typedef void (^requestFailedBlock) ();


@interface CTLogic : NSObject

-(void)followPersonRequest:(CTRequestFollowPseronItem *)item
    successCompletionHandler:(requestSuccessBlock)successBlock
               failedHandler:(requestFailedBlock)failedBlock;

-(void)cancelFollowPersonRequest:(CTRequestCancelFollowPseronItem *)item
  successCompletionHandler:(requestSuccessBlock)successBlock
             failedHandler:(requestFailedBlock)failedBlock;





-(void)likePersonRequest:(CTRequestLikePseronItem *)item
  successCompletionHandler:(requestSuccessBlock)successBlock
             failedHandler:(requestFailedBlock)failedBlock;

-(void)cancelLikePersonRequest:(CTRequestCancelLikePseronItem *)item
        successCompletionHandler:(requestSuccessBlock)successBlock
                   failedHandler:(requestFailedBlock)failedBlock;





-(void)commentRequest:(CTRequestCommentItem *)item
  successCompletionHandler:(requestSuccessBlock)successBlock
             failedHandler:(requestFailedBlock)failedBlock;

-(void)cancelCommentRequest:(CTRequestCancelCommentItem *)item
        successCompletionHandler:(requestSuccessBlock)successBlock
                   failedHandler:(requestFailedBlock)failedBlock;



-(void)commentListRequest:(CTRequestCommentListItems *)item
 successCompletionHandler:(requestSuccessBlock)successBlock
            failedHandler:(requestFailedBlock)failedBlock;



-(void)reportRequest:(CTRequestReportItem *)item
   successCompletionHandler:(requestSuccessBlock)successBlock
              failedHandler:(requestFailedBlock)failedBlock;



-(void)deletePublishRequest:(CTRequestDeletePublishItem *)item
successCompletionHandler:(requestSuccessBlock)successBlock
       failedHandler:(requestFailedBlock)failedBlock;



-(void)getPublishDetailsInfoRequest:(CTRequestPublishDetailsInfoItem *)item
   successCompletionHandler:(requestSuccessBlock)successBlock
              failedHandler:(requestFailedBlock)failedBlock;



-(void)auditStatusRequest:(NSString *)version
 successCompletionHandler:(requestSuccessBlock)successBlock
            failedHandler:(requestFailedBlock)failedBlock;


@end
